OTP\Handler\Forms\WPFormsPlugin B

Total Complexity 80
Dependencies 7
Dependents 0
Total lines 508
Lines of code 326
Logical lines of code 169
Comment lines 139
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
handle_form_options()
A
45 11 41
validateForm()
A
51 10 26
getFieldIDs()
A
53 8 23
handle_form()
S
54 5 18
parseFormDetails()
S
53 4 23
__construct()
S
53 4 22
checkIntegrity()
S
56 4 19
send_otp()
S
59 4 14
getFormDataFromID()
S
67 4 7
get_phone_number_selector()
S
68 4 7
processFormAndValidateOTP()
S
63 3 11
checkIntegrityAndValidateOTP()
S
57 2 19
processEmail()
S
62 3 10
processPhone()
S
62 3 10
processPhoneAndSendOTP()
S
60 2 14
processEmailAndSendOTP()
S
60 2 14
mo_enqueue_wpforms()
S
53 1 23
checkIfOTPSent()
S
66 2 10
handle_failed_verification()
S
79 1 3
handle_post_verification()
S
79 1 3
unset_otp_session_variables()
S
80 1 3
getSessionDetails()
S
71 1 6